Fix : provided file pattern was not correctly read