file method test