File input support