Handle files directly