Updated file stdin interface