made py read from local directory
removed home,directory vairables and made file read from local