add expand_path to file relative path