getting files lined up correctly