Moved file added endpoint to app class