works ok without fileNames property