add file spec
Replace to result
add methods