check for duplicated input files

and remove legacy _get_data_old

Issues: #126 #199