flags/checks for whether or not do disable directory listings