syntax error fixed, provide error message for missing files