Increase MAX_FILES to 512