createFromPath improved
adding createFromFileObject named constructor