Refetch file list when deleting a file

See #338