added functionality: drag and drop files