Fixed an issue with files not starting correctly.