File input. Fix handling > and <