File pos method sample