Handle additional colons in input better
Use makedirs rather than manually creating each directory