Read np file bug

tested on my computer handles the absolute path issue. Please test and merge.