Assume less about the filename - use the source's basename if we don't specify a name.
Initial import.