Fixed error with files.