Moved the tx obj to the locate subroutine
Normalized filename creation syntax