Trying to resolve file errors