Why every file i open is in a folder when i am downloading things like optifine

why every file i open is in a folder when i am downloading things like optifine plz help