When serving files, send the proper Content-Type across. When storing files, preallocate disk space