add deprecated getAbsolutePath