Fixed issue with missing timeline files

If a timeline file is missing the code tries to open it and throws error.