Getting battery file by ls