moving and deleting files in mediamanager