Added os import
Added navigation to file directory