added get filepath method