Resolve file.