difference between directory and file code example Example: What is difference between a file and a folder? size and memory