changed "exists" to "readable" when loading input