Use filepath.Join to create tmpfile file path.
Removed the prompt when reading form stdin.