Updated file read script