Added directory for files to be uploaded. Added .gitignore to it so that nothing get save in the repo from there.
Changed it so that files are stored on the webserver and filenames only are stored in the database.
Added deleting to new file setup. Deleting either the row or the file specifically deletes the file on the server.