now taking into account main files
be aware of ssh-agent