Add pull_file method

Resolves #27