perl -i.orig -pe 's|^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})|$1/$2/$3 $4:$5|' first_file