Actually remove row when file is deleted
Should fix out or memory error when trying to upload files