Added decorator to catch FileNotFoundError