blocking all except json files from going into the uploader