HOW TO USE node server.js Three types of file mime are managed: pdf txt png Each of them, based on the mime type, will be uploaded in the right folder.