Fixed bug where skipFiles was not initialized as an array