Set MaxResults(1000) when getting all files in dir