added print r fora files for debugging