demo takes path, completely manages file