Added information and safeguard when trying to open a nonexistent folder