Added private method that sets an atribute with file name list