Fixed crash issue for too big/many files.