Fixed an issue with resolving imaginary files.