Add expanded globbing

Fix fpath export.
Removed tmp file.