Remove file related code from ShellParser

Signed-off-by: Oleg Bulatov <dmage@yandex-team.ru>