Added automatic directory creation
Missing file