callback refactoring, separate handling of get and delete for files attempt, files work