revised filedesc