chore: Added cur file type to file middleware