still returns object if input directory does not exist
v0.1.2