Remove the use of glob module #20