TODO: fix target file path