added ability to detect if something is a hidden file