related to two commits before: catch file not found exception