File is collection of sectors on disk which is managed as per file system by OS. It has file name and extension which tell application software linked to the file. Nested or Sub-folder can also be made.
Directory is the collection of related files, user makes them for structured and easy access and called folder in Windows.
Apply for IT Support Certification
https://www.vskills.in/certification/certified-it-support-professional