that last error was due to my still using argv1 for the second file, changed now. WOrkign properly this time: pit2f almost ready