Added way to remove files that already exist in database - functional