fixed fileconnection