Fixed bug where only directory names were being passed (with their fully qualified path)
Fixed bug where a indeterminable file type (i.e. None) caused an exception