Change getAbsolutePath to getName