added length limit of 512 bytes of file contents, documented 2 bugs I've found in BigInsights Console API and improved directory checking