Overhauled ReadCommand and the SocketAdapter to fix FileRead