Removed empty list error int file adapter