Not dropping extensions. Getting absolute path for each file