Revert "GETS THE DIRECTORY/FILENAME AND METHOD"

This reverts commit 3ee8d503aba3555d9ba72d75b44458200097f0fb.