logcat script checks if line is valid before checking if it starts with a date
Changed logcat alias to a function that can accept a file as an argument