Bug Correction : IDs of directories are actually 'str' type not 'int'. Fixed