Fixed lookup for CSON files in directory