Fix target_file directive