Changed the way file sources and destinations are targeted
Added several simple  functionalities and checks