More testing of file read/write and cleaned up SFTP.java