get files as arguments an read them