Creates a new LocalFile object using the given directory and line from the md5 hash checkup. This object figures out the path, relative_path and md5 hash for the file.
Return a new LocalFile object if it‘s valid. Otherwise, log a warning and return nil.
[Validate]