Only CSV or JSON file is allowed Invalid file content