How to manage AnaRIP input file handling