Remove has file check