Added catch for nonexistent file