path must be an absolute path