- klaida f s . r e a d F i l e ( f n , [ e n c o d i n g ] , [ c a l l b a c k ] ) f s . r e a d F i l e ( f n , f u n c t i o n ( e r r , d a t a ) { / * . . * / } ) ;
v a r f s = r e q u i r e ( " f s " ) , Q = r e q u i r e ( " q " ) ; Q . n i n v o k e ( f s , " r e a d F i l e " , f i l e N a m e ) . t h e n ( f u n c t i o n ( c o n t e n t s ) { / * . . * / } ) . f a i l ( f u n c t i o n ( e r r o r ) { / * . . * / } ) . d o n e ( ) ;