Trash files function is working