Edited for /dev directory